package com.woniu.outlet.client;

import com.woniu.inlet.web.vo.FixedDayVo;
import com.woniu.inlet.web.vo.FixedMsgVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 发送信息到平台
 */
@Component
@FeignClient("finance-pay")
public interface FinancePayFeign {

    /**
     * 卖出基金、黄金、活期产品时，需要验证支付密码
     * @param userId
     * @param payPassword
     * @return
     */
    @PostMapping("/pay/isPayPassword")
    public boolean isPayPassword(
            @RequestParam("userId") Integer userId,
            @RequestParam("payPassword") String payPassword);



}
